<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Rzfang extends Model
{
    use HasFactory;
    protected $table='zfm_rzfangs';
    protected $guarded = [];
     /**
     * rzf信息修改
     */
    public static function change($field,$ID,$SecondaryMessageUpdated){
        $update= self::where($field,$ID,$ID)->first();
        return $update->fill($SecondaryMessageUpdated)
        ->save();

    }
}
